/*
** my_sort_int_tab.c for  in /home/gueux_g/projet/code_source
**
** Made by gregory gueux
** Login   <gueux_g@epitech.net>
**
** Started on  Wed Oct 10 08:59:58 2012 gregory gueux
** Last update Thu Oct 11 20:36:55 2012 gregory gueux
*/

void	my_sort_int_tab(int *tab, int size)
{
  int	i;
  int	nb;

  i = 0;
  nb = 0;
  while (i < size - 1)
    {
      if (tab[i] > tab[i + 1])
	{
	  my_swap(&tab[i], &tab[i + 1]);
	  i = 0;
	}
      else
	i = i + 1;
    }
}
